package com.itheima.stock.service;

import com.itheima.stock.dto.LoginDTO;
import com.itheima.stock.response.ResponseResult;
import com.itheima.stock.vo.CaptchaVO;
import com.itheima.stock.vo.LoginVO;

/**
 * @author zby
 * @created 2024-06-24 20:18
 * @description 用户业务层接口
 */
public interface UserService {

    /**
     * 获取验证码
     *
     * @return CaptchaVO
     */
    CaptchaVO generateCaptcha();
    /**
     *  登录
     * @param dto 登录参数
     * @return LoginVO
     */
    LoginVO login(LoginDTO dto);


}
